/*
* $Id: Components.h 124 2010-07-26 14:12:13Z volok-aleksej@yandex.ru $
*
* Copyright 2008-2009 by Volokitin Alexey
* All rights reserved
*
*/
#ifndef _COMPONENTS_H_
#define _COMPONENTS_H_

#include "Component.h"
#include "Journal/JournalInterface.h"

class CQueenBeeManager;

class CSettingsComponent : public CComponent
{
public:
	CSettingsComponent();
	virtual ~CSettingsComponent();
public:
	virtual void Init();
};

class CJournalComponent : public CComponent, public IJournalComponent
{
	std::vector<IJournalView*> m_aJournalView;
	CQueenBeeManager* m_pQueenBeeManager;
public:
	CJournalComponent();
	virtual ~CJournalComponent();
public:
	virtual void Init();
	virtual std::vector<std::tstring> GetStyleNames();
	virtual IJournalView* GetView(const std::tstring& strStyleName);
	virtual CQueenBeeManager* GetQueenBeeManager();
};

#endif /*_COMPONENTS_H_*/